#include <QtGui/QApplication>
#include "MainSceneWidget.h"
#include "ReconstructByKinectCommon.h"
#include "ReconstructProcess.h"
#include "SensorDataProcessedInput.h"
#include "Registration.h"

using namespace std;

int main(int argc, char *argv[])
{
	try {
		QApplication a(argc, argv);
		MainSceneWidget w (argc, argv);
		w.show ();
		return a.exec();
	} catch (std::exception e) {
		OutputDebugStringA ("Error: ");
		OutputDebugStringA (e.what ());
		OutputDebugStringA ("\n");
	} catch (...) {
		OutputDebugStringA ("Error: Unknown Exception caught\n");
	}

}